package com.kx.smsplatform.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

/**
 * @Author Sun
 * @Date 2021/7/1 17:31
 */
@FeignClient(value = "SMSPLATFORM-CACHE")
public interface CacheClient {

    @GetMapping(value = "/cache/hgetall/{key}")
    Map hGetAll(@PathVariable String key);
}
